package bean_refresh.基于注解刷新;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Scope;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Scope
public class ConfigController {

    @Value("${name}")
    private String name;

}

